$ git config --global core.autocrlf input
# Option 1: git config --global core.autocrlf false # Option 2:---> Worked for me perfectly on Linux. git config --global core.safecrlf false
git config core.autocrlf true